package org.pcorp.battlespace.persistance.dao;

import java.util.List;

import org.hibernate.SessionFactory;
import org.pcorp.battlespace.persistance.modele.Capacite;
import org.springframework.beans.factory.annotation.Autowired;

public interface CapaciteDao {

	@Autowired
	public abstract void initDao(SessionFactory sessionFactory);

	public abstract void persist(Capacite transientInstance);

	public abstract void delete(Capacite persistentInstance);

	public abstract Capacite findById(long id);

	public abstract List<Capacite> findByExample(Capacite instance);
	
	public abstract List<Capacite> findAll();

}
